package userInterface.Panels;

import javax.swing.*;

/**
 * {@link javax.swing.JPanel JPanel} for {@link userInterface.FrameMain FrameMain} tabs.
 * @author BDS
 */
public abstract class PanelBase extends JPanel
{
	private static final long serialVersionUID = 1L;

	/**
	 * Class constructor.
	 */
	public PanelBase() { }

	/**
	 * Prompts the user to save any pending changes.
	 */
	public void promptSaveChanges() { }
	
	/**
	 * Loads all form data.
	 */
	public void load() { }
	
	/**
	 * Resets focus to the {@link javax.swing.JPanel JPanel}.
	 */
	public void resetFocus()
	{
		requestFocus();
	}
}
